﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp4
{
    class Class1
    {
        static void Main(string[] args)
        {
            Task npc1 = new Task("白兔", Type.Task, "走到前面");
            npc1.Say();

            Shop npc2 = new Shop("棕狗", Type.Shop, "跳到后面");
            npc2.Say();

            Smithy npc3 = new Smithy("灰狼", Type.Smithy, "跑到旁边");
            npc3.Say();
        }
    }
}
